import { request } from './index'

// 用户登录
export function UserLogin (data: {username: string, password: string}) {
  console.log(data)
  return request({
    url: '/login',
    method: 'post',
    data: data
  })
}